package com.px.service;

import com.px.pojo.ShCommodity;

import java.util.List;

public interface CommodityServiceProvider {


    /**
     * 按一级分类查询商品
     * @param id
     * @return
     * @throws Exception
     */
    List<ShCommodity> findCommodityByDic(Integer id)throws Exception;
    /**
     * 按一级分类查询商品
     * @param dicId
     * @return
     * @throws Exception
     */
    List<ShCommodity> findByDicTwoId(Integer dicId)throws Exception;

    ShCommodity findCommentById(Integer id)throws Exception;
}
